	  if (window.addEventListener) {
    // create the keys and konami variables
    var keys = [],
      konami = "38,38,40,40,37,39,37,39,66,65";
      //konami = "38";
    
    // Correspond à haut - haut - bas - bas - gauche - droite - gauche - droite - B - A
    
    // bind the keydown event to the Konami function
    window.addEventListener("keydown", function(e){
        // push the keycode to the 'keys' array
        keys.push(e.keyCode);
        
        // and check to see if the user has entered the Konami code
        if (keys.toString().indexOf(konami) >= 0) {
            // do something such as
			Dialog.alert({url: "konami.html", options: {method: 'get'}}, 
            {className: "alphacube", width:300, height:480, okLabel: "Close"});
            // and finally clean up the keys array
            keys = [];
        };
    }, true);
};